<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DesignPattern: C:/96_project/DesignPattern/12_Facade/groupinc/DESIGNPATTERN_Facade.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="DesignPattern.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">DesignPattern
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_7a8afd2c6e8f9aa513bc6d85e4ea378f.html">12_Facade</a></li><li class="navelem"><a class="el" href="dir_edf8023caa345b19f59059730a08d9b7.html">groupinc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">DESIGNPATTERN_Facade.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___facade_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef CXX_DESIGNPATTERN_FACADE_H</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#define CXX_DESIGNPATTERN_FACADE_H</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#ifndef CXX_DESIGNPATTERN_SUBSYSTEM1_H</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___sub_system1_8h.html">DESIGNPATTERN_SubSystem1.h</a>&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160; </div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#ifndef CXX_DESIGNPATTERN_SUBSYSTEM2_H</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___sub_system2_8h.html">DESIGNPATTERN_SubSystem2.h</a>&quot;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_facade.html">   19</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_facade.html">Facade</a></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;{</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <a class="code" href="class_facade.html#a169c5f53bfcb40710dc621f464237c62">~Facade</a>();</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keyword">static</span> <a class="code" href="class_facade.html">Facade</a>* <a class="code" href="class_facade.html#a956d01c4ec82bbc7eeae10bfd868ba96">Instance</a>();</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="keyword">static</span> <a class="code" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a> <a class="code" href="class_facade.html#ab369b0c2987adc3842940491a6f70c83">Destroy</a>();</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <a class="code" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a> <a class="code" href="class_facade.html#ab8234d3371deb6644a760daaf4cc04fc">OperationWrapper</a>();</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <a class="code" href="class_facade.html#a8e0f43c604499d9d603236929b3ac488">Facade</a>();</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <a class="code" href="class_facade.html#a8e0f43c604499d9d603236929b3ac488">Facade</a>(<span class="keyword">const</span> <a class="code" href="class_facade.html">Facade</a>&amp; cFacade);</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <a class="code" href="class_facade.html">Facade</a>&amp; <a class="code" href="class_facade.html#a9c60e764392d16fccc510b9797ec3566">operator=</a>(<span class="keyword">const</span> <a class="code" href="class_facade.html">Facade</a>&amp; cFacade);</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="class_facade.html#ac1a80b0af12a85229c5b918ca3ef57bc">   85</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="class_facade.html">Facade</a>* <a class="code" href="class_facade.html#ac1a80b0af12a85229c5b918ca3ef57bc">m_pInstance</a>;</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="class_facade.html#aeddec49538bd1787ef6d22620c15803f">   86</a></span>&#160;    <a class="code" href="class_sub_system1.html">SubSystem1</a> <a class="code" href="class_facade.html#aeddec49538bd1787ef6d22620c15803f">m_cSubSystem1</a>;</div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="class_facade.html#a813649084db805b8c7430bffe9b69fe7">   87</a></span>&#160;    <a class="code" href="class_sub_system2.html">SubSystem2</a> <a class="code" href="class_facade.html#a813649084db805b8c7430bffe9b69fe7">m_cSubSystem2</a>;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;};</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="preprocessor">#endif  </span><span class="comment">/* &gt;&gt;CXX_DESIGNPATTERN_FACADE_H&lt;&lt; */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="preprocessor"></span><span class="comment">/* EOF */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="a_d_e_s_i_g_n_p_a_t_t_e_r_n___sub_system1_8h_html"><div class="ttname"><a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___sub_system1_8h.html">DESIGNPATTERN_SubSystem1.h</a></div><div class="ttdoc">1.When the algorithm to create complex object should be independent of the part of the object,...</div></div>
<div class="ttc" id="aclass_facade_html_a956d01c4ec82bbc7eeae10bfd868ba96"><div class="ttname"><a href="class_facade.html#a956d01c4ec82bbc7eeae10bfd868ba96">Facade::Instance</a></div><div class="ttdeci">static Facade * Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___facade_8cpp_source.html#l00046">DESIGNPATTERN_Facade.cpp:46</a></div></div>
<div class="ttc" id="aclass_facade_html_ac1a80b0af12a85229c5b918ca3ef57bc"><div class="ttname"><a href="class_facade.html#ac1a80b0af12a85229c5b918ca3ef57bc">Facade::m_pInstance</a></div><div class="ttdeci">static Facade * m_pInstance</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___facade_8h_source.html#l00085">DESIGNPATTERN_Facade.h:85</a></div></div>
<div class="ttc" id="aclass_facade_html_a813649084db805b8c7430bffe9b69fe7"><div class="ttname"><a href="class_facade.html#a813649084db805b8c7430bffe9b69fe7">Facade::m_cSubSystem2</a></div><div class="ttdeci">SubSystem2 m_cSubSystem2</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___facade_8h_source.html#l00087">DESIGNPATTERN_Facade.h:87</a></div></div>
<div class="ttc" id="aclass_facade_html_ab369b0c2987adc3842940491a6f70c83"><div class="ttname"><a href="class_facade.html#ab369b0c2987adc3842940491a6f70c83">Facade::Destroy</a></div><div class="ttdeci">static VOID Destroy()</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___facade_8cpp_source.html#l00064">DESIGNPATTERN_Facade.cpp:64</a></div></div>
<div class="ttc" id="aclass_facade_html_a9c60e764392d16fccc510b9797ec3566"><div class="ttname"><a href="class_facade.html#a9c60e764392d16fccc510b9797ec3566">Facade::operator=</a></div><div class="ttdeci">Facade &amp; operator=(const Facade &amp;cFacade)</div></div>
<div class="ttc" id="a_my_self_def_8h_html_a7927e087749615dae3114cc27b91c86d"><div class="ttname"><a href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a></div><div class="ttdeci">void VOID</div><div class="ttdef"><b>Definition:</b> <a href="_my_self_def_8h_source.html#l00011">MySelfDef.h:11</a></div></div>
<div class="ttc" id="aclass_facade_html_a169c5f53bfcb40710dc621f464237c62"><div class="ttname"><a href="class_facade.html#a169c5f53bfcb40710dc621f464237c62">Facade::~Facade</a></div><div class="ttdeci">~Facade()</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___facade_8cpp_source.html#l00033">DESIGNPATTERN_Facade.cpp:33</a></div></div>
<div class="ttc" id="aclass_facade_html_aeddec49538bd1787ef6d22620c15803f"><div class="ttname"><a href="class_facade.html#aeddec49538bd1787ef6d22620c15803f">Facade::m_cSubSystem1</a></div><div class="ttdeci">SubSystem1 m_cSubSystem1</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___facade_8h_source.html#l00086">DESIGNPATTERN_Facade.h:86</a></div></div>
<div class="ttc" id="aclass_facade_html_a8e0f43c604499d9d603236929b3ac488"><div class="ttname"><a href="class_facade.html#a8e0f43c604499d9d603236929b3ac488">Facade::Facade</a></div><div class="ttdeci">Facade()</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___facade_8cpp_source.html#l00022">DESIGNPATTERN_Facade.cpp:22</a></div></div>
<div class="ttc" id="aclass_sub_system2_html"><div class="ttname"><a href="class_sub_system2.html">SubSystem2</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___sub_system2_8h_source.html#l00013">DESIGNPATTERN_SubSystem2.h:13</a></div></div>
<div class="ttc" id="aclass_facade_html_ab8234d3371deb6644a760daaf4cc04fc"><div class="ttname"><a href="class_facade.html#ab8234d3371deb6644a760daaf4cc04fc">Facade::OperationWrapper</a></div><div class="ttdeci">VOID OperationWrapper()</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___facade_8cpp_source.html#l00081">DESIGNPATTERN_Facade.cpp:81</a></div></div>
<div class="ttc" id="aclass_facade_html"><div class="ttname"><a href="class_facade.html">Facade</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___facade_8h_source.html#l00019">DESIGNPATTERN_Facade.h:19</a></div></div>
<div class="ttc" id="aclass_sub_system1_html"><div class="ttname"><a href="class_sub_system1.html">SubSystem1</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___sub_system1_8h_source.html#l00013">DESIGNPATTERN_SubSystem1.h:13</a></div></div>
<div class="ttc" id="a_d_e_s_i_g_n_p_a_t_t_e_r_n___sub_system2_8h_html"><div class="ttname"><a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___sub_system2_8h.html">DESIGNPATTERN_SubSystem2.h</a></div><div class="ttdoc">1.When the algorithm to create complex object should be independent of the part of the object,...</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
